home *** CD-ROM | disk | FTP | other *** search
- %% xyps-wdo.tex from $Id: xyps-wdo.doc,v 2.10 1994/06/15 12:46:03 ross Exp $
- %%
- %% XY-pic ``dviwindo'' PostScript backend support.
- %% Copyright (c) 1993-1994 Ross Moore <ross@mpce.mq.edu.au>
- %%
- %% This file is part of the XY-pic package for graphs and diagrams in TeX.
- %% See the companion README and INSTALL files for further information.
- %% Copyright (c) 1991-1994 Kristoffer H. Rose <kris@diku.dk>
- %%
- %% The XY-pic package is free software; you can redistribute it and/or modify
- %% it under the terms of the GNU General Public License as published by the
- %% Free Software Foundation; either version 2 of the License, or (at your
- %% option) any later version.
- %%
- %% The XY-pic package is distributed in the hope that it will be useful, but
- %% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- %% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- %% for more details.
- %%
- %% You should have received a copy of the GNU General Public License along
- %% with this package; if not, write to the Free Software Foundation, Inc.,
- %% 675 Mass Ave, Cambridge, MA 02139, USA.
- %%
- \ifx\xypswdoloaded\relax \message{not reloaded}\endinput \fi
- \let\xypswdoloaded=\relax \xycatcodes
- \xywarnifdefined\dviwindoSpecial@
- \xywarnifdefined\dviwindoMacro@
- \xywarnifdefined\dviwindoRaw@
- \xywarnifdefined\dviwindoInclude@
- {\catcode`"=11 \catcode`:=11
- \gdef\dviwindoSpecial@#1{\firstPS@@\special{pstext="#1"}}
- \gdef\dviwindoMacro@#1{\firstPS@@\special{pstext="mark{#1}xy"}}
- \gdef\dviwindoRaw@#1{\firstPS@@\special{pstext="#1"}}%
- \gdef\dviwindoInclude@#1{\firstPS@@\special{psfile=#1}}
- }
- \xydef@\dviwindo@{\gdef\dvitype@{dviwindo }\dvimessage@
- \global\let\PSspecial@=\dviwindoSpecial@
- \global\let\PSmacro@=\dviwindoMacro@
- \global\let\PSdict@=\dviwindoMacro@
- \global\let\PSraw@=\dviwindoRaw@
- \global\let\PSinclude@=\dviwindoInclude@
- \global\let\xyPSobeylines@=\obeyDVIWINDOlines@
- \ifUsePSdict@@
- \gdef\firstPS@@{\firstPS@ \includeXYPSdict@}%
- \gdef\endXYdict@{\firstPS@}%
- \else
- \gdef\firstPS@@{\firstPS@ \@PSshipout}\gdef\endXYdict@{\firstPS@}\fi
- }%
- \xywarnifdefined\obeyDVIWINDOlines@
- {\catcode`\^^M=\active
- \gdef\obeyDVIWINDOlines@{\catcode`\^^M=\active \let^^M=\par \obeyspaces}}
- \xyendinput
-